<template>
  <ul>
    <li class="list" @click="jump(1)">列表1</li>
    <li class="list" @click="jump(2)">列表2</li>
    <li class="list" @click="jump(3)">列表3</li>
  </ul>
</template>
<script>
  export default {
    name:'Other',
    data(){
      return{
        links: [
          {
            text: '圆白菜',

          },
          {
            text: '长白菜',

          },
          {
            text: '胡萝卜',

          }
        ]
      }
    },
    methods:{
      jump:function(id,title){
        this.$router.push('/otherPage/'+id);
      },
    }
  }
</script>
